package com.lyj.mode.factory.method;

/**
 * @desc:
 * @author:liyajie
 * @createTime:2022/2/14 11:55
 * @version:1.0
 */
public abstract class CakeFactory {

    abstract Cake createCake();

    public CakeFactory() {
        createCake();
    }
}
